<?php
class NoPermissionException extends Exception
{
    public function NoPermissionException($msg = null)
    {
        $msg = $msg ? $msg : 'You do not have enough permission to perform the action';
        parent::__construct($msg);
    }
}
?>
